(:: pragma bea:global-element-parameter parameter="$newOperation1" element="ns1:NewOperation" location="../WSDLs/mockCreateNewCustomerInSF.wsdl" ::)
(:: pragma bea:global-element-return element="ns0:deleteDeviceRequest" location="../xsd/DeleteDeviceRequest.xsd" ::)

declare namespace ns1 = "http://www.example.org/mockCreateNewCustomerInSF/";
declare namespace ns0 = "http://integration.clearwire.com/public/interfaces/AAA/DeleteDeviceRequest.xsd";
declare namespace xf = "http://tempuri.org/ActivateNewCustomer/Transformation/inputDeleteDevice/";

declare function xf:inputDeleteDevice($newOperation1 as element(ns1:NewOperation))
    as element(ns0:deleteDeviceRequest) {
        <ns0:deleteDeviceRequest>
            <ns0:macAddress>{ data($newOperation1/macID) }</ns0:macAddress>
            <ns0:domain>{ data($newOperation1/realm) }</ns0:domain>
        </ns0:deleteDeviceRequest>
};

declare variable $newOperation1 as element(ns1:NewOperation) external;

xf:inputDeleteDevice($newOperation1)